/**
 * Copyright [2020] [LiBo/Alex of copyright liboware@gmail.com ]
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hyts.callcenter.model.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @project-name:callcenter
 * @package-name:com.hyts.callcenter.model
 * @author:LiBo/Alex
 * @create-date:2021-11-05 10:11 下午
 * @copyright:libo-alex4java
 * @email:liboware@gmail.com
 * @description: 呼叫中心外呼线路模型
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OutboundLinePersistModel {

    /**
     * 线路id
     */
    private Long id;

    /**
     * 线路名称
     */
    private String name;

    /**
     * 线路的异常次数
     */
    private int errorNumber;

    /**
     * 最近一次的呼叫上报时间
     */
    private Long lastCallTime;

    /**
     * 是否可用
     */
    private boolean enable = true;

    /**
     * 占用线路的任务
     */
    private Long taskId;

    /**
     * 外呼时间
     */
    private Long callTime;

    /**
     * 线索id
     */
    private Long clueId;

}
